<?php
/*
Template Name: Todo Page
Theme: dkret3
Author: J. Kretzschmar
Author URI: http://diekretzschmars.de/
Version: 1.0
*/
?>

<?php get_header() ?>

	<div id="container">
		<div id="content">

<?php the_post() ?>
			<div id="post-<?php the_ID(); ?>" class="<?php sandbox_post_class() ?>">
				<h2 class="entry-title"><?php the_title(); ?></h2>
				<div class="entry-content">
<?php if (function_exists('ourtodolist_all')) { ?>
	<?php if ( ourtodolist_exists(OTD_ALL) ) { ?>
					<h3><?php _e('Todo Tasks','dkret'); ?></h3>
					<ul>
<?php ourtodolist(0, false, false); ?>
<?php ourtodolist_completed(0, false, false); ?>
					</ul>
	<?php } ?>
<?php } ?>

<?php the_content(); ?>

<?php link_pages("\t\t\t\t\t<div class='page-link'>".__('Pages: ', 'dkret'), "</div>\n", 'number'); ?>

<?php edit_post_link(__('Edit', 'dkret'),'<span class="edit-link">','</span>') ?>

				</div><!-- .entry-content -->
			</div><!-- #post?? .sandbox_post_class() -->

<?php comments_template(); ?>

    </div><!-- #content -->
	</div><!-- container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>